package cn.edu.cqut.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import cn.edu.cqut.entity.Contact;
import cn.edu.cqut.mapper.ContactMapper;
import cn.edu.cqut.service.IContactService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author HQYJ
 * @since 2020-06-24
 */
@Service
public class ContactServiceImpl extends ServiceImpl<ContactMapper, Contact> implements IContactService {
	@Override
	public Page<Contact> getContactWithCustomer(Page<Contact> page, QueryWrapper<Contact> qw) {
		return baseMapper.selectContactWithCustomer(page,qw);
	}
}
